package com.lry.jvm.classfile.attributes;

import com.lry.jvm.classfile.ClassReader;
import lombok.Data;

@Data
public class StackMapTable implements AttributeInfo{

    private int numberOfEntries;
    private StackMapFrame[] entries;

    @Override
    public void readInfo(ClassReader reader) {
        numberOfEntries = reader.nextU2ToInt();
        entries = new StackMapFrame[numberOfEntries];
    }

    class StackMapFrame {

    }
}
